public class TransferTest2 {
    public static void main(String[] args) {
        Person p1 = new Person();
        System.out.println(p1);
        change(p1);
        System.out.println(p1);
    }

    public static void change(Person p2) {
        p2 = new Person();
    }
}

/**
 * Person类
 */
class Person {

}